package com.mbc.web.common.client.ui.control;

import java.util.ArrayList;

import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.event.dom.client.FocusHandler;


public class GridComboBoxColumn extends GridColumn
{
	public ArrayList<String[]> dataSource = new ArrayList<String[]>();
	public ChangeHandler changeHandler;
	public FocusHandler focusHandler;
	public GridComboBoxColumn()
	{
		columnType = GridColumn.column_ComboBox;
	}
	
	public GridComboBoxColumn(String header){
		this.header = header;
		columnType = GridColumn.column_ComboBox;
	}
	
	public void addItem(String item, String value)
	{
		dataSource.add(new String[]{item, value});
	}
}
